﻿using System;

namespace ConsoleApp6
{
    class Teacher:Person
    {
        private int Id;
        private string Name;
        private char Sex;
        private int Cardid;
        private string Tel;
        private string Title;
        private string Wageno;
        public int id { get; set; }
        public string name { get; set; }
        public char sex { get; set; }
        public int cardid { get; set; }
        public string tel { get; set; }
        public string title { get; set; }
        public string wageno { get; set; }

        //public Teacher(string teacher)
        //{
        //    this.Id =12213123;
        //    this.TeaName = "何老师";
        //    this.sex="男";
        //    this.TeaCardid = 2324324;
        //    this.TeauTel ="1234634234";
        //    this.Title = "无";
        //    this.Wageno = "23242432423";
        //}
        public Teacher(int id, string name, char sex, int cardid, string tel) : base(id, name, sex, cardid, tel)
        {
        
        }
        //public void PrintTea()
        //{
        //    Console.WriteLine("我的编号{0}，我的名字{1}，我的性别{2}，我的身份证号{3}，我的联系方式{4}，我的职称{5}，我的工资号{6}", this.Id, this.Name, this.Sex, this.Cardid, this.Tel, this.Title, this.Wageno);
        //}
        public void PrintTea()
        {
            Console.WriteLine("我的编号{0}，我的名字{1}，我的性别{2}，我的身份证号{3}，我的联系方式{4}",this.Id, this.Name, this.Sex, this.Cardid, this.Tel);
        }
    }
}
